<!-- Definimos la herencia -->
{% extends "generico.html" %}
<!-- Listado de blockes especificos de formularios -->
	{% block head %}
		<script type="text/javascript" src="/static/ckeditor/ckeditor.js"></script>
		<script type="text/javascript">
			window.onload = function()
			{
				CKEDITOR.replace('body');
			}
		</script>
	{% endblock %}

	{% block titulo %} Formulario: {{title}} {% endblock %}

	{% block central %}
		<h2>{{title}}</h2>
	    <b>{{up_line}}</b>
		<form action="" method = "post" {{photo|safe}}> 
			<table>
				{{form.as_table}}
			</table>
			<font color="#FF0000"><b>{{down_line}}</b></font><br>
			<input type="submit" value="{{save}}">
		</form>
		{% if newpass %}
			Si olvido su contraseña ingrese <a href="/usr/newpass">aqui</a>.
		{% endif %}
		
		{% if cc %}
			Si desea volver a la configuracion default, ingrese <a href="/colores/default">aqui</a>.
		{% endif %}
	{% endblock %}